<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@include file="/common/common.jsp"%>
<%@include file="/common/skins/skin0/component.jsp" %>
<h:css href="/css/style1/style-custom.css"/>
<%--
- Author(s): pengweiling
- Date: 2012-07-24 17:15:56
- Description:
--%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>
      收取房费和押金
    </title>
  </head>
  <body>
    <r:datacell entityType="com.hms.OrderMgr.order.WeGres" id="grid" width="100%" xpath="gres" height="300">
      <r:toolbar location="top" tools="edit1"/>
      <r:field fieldName="rm" label="房号"></r:field>
      <r:field fieldName="rt" label="房费" width="60"></r:field>
      <r:field fieldName="rp" label="房费付款方式">
        <d:select nullLabel="请选择" dictTypeId="HMS_PAYMENT_TYPE"/>
      </r:field>
      <r:field fieldName="dm" label="押金" width="60"></r:field>
      <r:field fieldName="dp" label="押金付款方式">
        <d:select nullLabel="请选择" dictTypeId="HMS_PAYMENT_TYPE"/>
      </r:field>
      <r:field fieldName="remark" label="说明" >
         <h:text/>
      </r:field>      
    </r:datacell>

    <table align="center" border="0" width="100%" class="form_table">
      <tr class="form_bottom">
        <td class="form_bottom">
          <input type="button" value="确定" class="button" onclick="setDeposit();"> 
          <input type="button" value="取消" class="button" onclick="window.close();">          
        </td>
      </tr>
    </table>
          
    <script>
    
       function setDeposit(){
          //转换为相应的账单数据
          window.returnValue = $id("grid").dataset.getAlltEntities();
          window.close();
       }
    </script>
    
  </body>
</html>
